<!--#layout("/common/layout.html",{"jsBase":"/js/question/question/"}){ -->
<div class="layui-row">
    <form id="searchForm" class="layui-form layui-form-pane">
        <div class="layui-collapse" lay-filter="condictionCol">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">查询条件</h2>
                <div class="layui-colla-content layui-show">
                    <div class="layui-row">
                        <div class="layui-form-item">
                            <div class="layui-inline">

                                <label class="layui-form-label">问题ID</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="questionId" autocomplete="off" class="layui-input">
                                </div>

                                <label class="layui-form-label">问题标题</label>

                                <div class="layui-input-inline">
                                    <input type="text" name="title" autocomplete="off" class="layui-input">
                                </div>

                                <label class="layui-form-label">问题描述</label>

                                <div class="layui-input-inline">
                                    <input type="text" name="describe" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">

                            <div class="layui-inline">
                                <label class="layui-form-label">是否公开</label>

                                <div class="layui-input-inline">
                                    <select name="isOpen" lay-verify="">
                                        <option value="">不限制</option>
                                        <option value="1">是</option>
                                        <option value="0">否</option>
                                    </select>
                                </div>

                                <label class="layui-form-label">是否推荐</label>

                                <div class="layui-input-inline">
                                    <select name="isTop" lay-verify="">
                                        <option value="">不限制</option>
                                        <option value="1">是</option>
                                        <option value="0">否</option>
                                    </select>
                                </div>
                                <button style="float: right;" class="layui-btn layui-btn-normal" type="button" id="searchFormSearch">搜索</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

<br/>
<div class="layui-btn-group">
    <layui:accessButton function="question.question.add" action="add">增加</layui:accessButton>
    <layui:accessButton function="question.question.edit" action="edit">编辑</layui:accessButton>
    <layui:accessButton function="question.question.del" action="del">删除</layui:accessButton>
    <layui:accessButton function="question.question.edit" action="answer">我来回答</layui:accessButton>
    <button id="table-button-question-answer" class="layui-btn layui-btn-primary  ext-toolbar "  data-type="answerList">该提问的回答</button>
</div>

<table id="questionTable" lay-filter="questionTable"></table>
<!--#} -->
<script>
    layui.use(['index'], function () {
        var index = layui.index
        index.init();
    });

</script>
